﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using nERP.Model.Wms;
using nERP.Model;
using nERP.Model.Bas;

namespace nERP.ViewModel.Wms.OtherInWarehouseDetailVMs
{
    public partial class OtherInWarehouseDetailBatchVM : BaseBatchVM<OtherInWarehouseDetail, OtherInWarehouseDetail_BatchEdit>
    {
        public OtherInWarehouseDetailBatchVM()
        {
            ListVM = new OtherInWarehouseDetailListVM();
            LinkedVM = new OtherInWarehouseDetail_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class OtherInWarehouseDetail_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._OtherInWarehouseDetail._Seq")]
        public int? Seq { get; set; }
        [Display(Name = "_Model._OtherInWarehouseDetail._OtherInWarehouse")]
        public string OtherInWarehouseId { get; set; }
        [Display(Name = "_Model._OtherInWarehouseDetail._Warehouse")]
        public string WarehouseId { get; set; }
        [Display(Name = "_Model._OtherInWarehouseDetail._Goods")]
        public string GoodsId { get; set; }
        [Display(Name = "_Model._OtherInWarehouseDetail._GoodsName")]
        public string GoodsName { get; set; }
        [Display(Name = "_Model._OtherInWarehouseDetail._GoodsSpec")]
        public string GoodsSpec { get; set; }
        [Display(Name = "_Model._OtherInWarehouseDetail._GoodsUnit")]
        public string GoodsUnit { get; set; }
        [Display(Name = "_Model._OtherInWarehouseDetail._OtherInNumber")]
        public decimal? OtherInNumber { get; set; }
        [Display(Name = "_Model._OtherInWarehouseDetail._Remark")]
        public string Remark { get; set; }
        [Display(Name = "_Model._OtherInWarehouseDetail._Status")]
        public dStatusTypeEnum? Status { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}